{#**
*
* 功能描述（留言模板）
*
* @author suoya <jlusuoya@gmail.com>
* @version 1
*#}

{#include file="header.tpl" title="留言" menuIdx=2 headImg="user" #}
{#include file="define.tpl" scope=parent#}
<script src="js/raojinpg.js" type="text/javascript"></script>

<div class="block box">
    <div id="ur_here" class="user_here">
        当前位置: <a href=".">首页</a> <code>/</code> 用户中心 <code>/</code> 留言板 </div>
</div>
<div class="block clearfix user_box"> 
    <div class="AreaR" style="width:996px">
        <div class="box">
            <div class="box_1">
                <div class="userCenterBox boxCenterList clearfix" style="_height:1%;">
                    <form action="index.php?action=lvmsg.add" method="post" enctype="multipart/form-data" name="formMsg" onSubmit="return submitMsg()">
                        <table width="100%" border="0" cellpadding="0">
                            <tr>
                                <td align="left" class="f8" height="40">留言类型：</td>
                                <td class="f8">
                                    {#foreach $msg_types as $k =>$v#}
                                        <input name="type" type="radio" value="{#$k#}" checked="checked" /> {#$v#}
                                    {#/foreach#}
                                </td>
                            </tr>
                            <tr>
                                <td align="left" class="f8" height="40">主题：</td>
                                <td><input name="title" type="text" size="30" class="inputBg1" /></td>
                            </tr>
                            <tr>
                                <td align="left"  class="f8" height="40">留言内容：</td>
                                <td>
                                    <input name="content"   class="inputBg2" /><br />
                                </td>
                            </tr>
                            <tr>
                                <td align="left"  class="f8" height="40">上传文件：</td>
                                <td align="left"> 
                                    <a href="#." class="bnt_file">
                                        <span></span>
                                        <input type="file"  name="file" class="bnt_filename" /></a>
                                </td>
                            </tr>
                            <tr>
                                <td class="f9" colspan="2"> * <font color="red">小提示：</font> 您可以上传以下格式的文件：<br />gif、jpg、png、word、excel、txt、zip、ppt、pdf</td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td align="right" style="padding-right:190px;"><input type="hidden" name="act" value="act_add_message" />
                                    <input type="submit" value="提交" class="button_nomarl" />
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    var msg_title_empty = "留言标题为空";
    var msg_content_empty = "留言内容为空";
    var msg_title_limit = "留言标题不能超过200个字";
</script>
{#include file="footer.tpl"#}
